let myPlugin = {};
myPlugin.install = function(Vue, options) {
   Vue.directive(options.name,(element,params) => {
    console.log(options.name,'options.name')
    console.log(element,params,'111',params.value.toUpperCase())
    // 自定义指定具体逻辑
    element.innerHTML = params.value.toUpperCase();
  })
}

export default myPlugin;